import Vue from 'vue'
import App from './App.vue'
import VueAxios from 'vue-axios'
import 'iview/dist/styles/iview.css'
import iView from 'iview'

import VueRouter from 'vue-router';
import {routes} from './routes'
import axios from 'axios'


Vue.use(VueRouter);
Vue.use(VueAxios, axios);
Vue.use(iView);

const router = new VueRouter({
  routes,
  mode:'hash'
});

new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
